package com.service.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("sys_user")
public class SysUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String loginName;

    private String nickName;

    private String mobile;

    private String email;

    private String passwd;

    private String totpSecret;

    private String totpQr;

    private Integer loginCount;

    private String lastLoginIp;

    private String lastIpRegion;

    private Date lastLoginTime;

    private Date createTime;

    private Byte userStatus;

}